-- GENERATED SPELL FOR [Elder Saltwater Crocolisk] --


function spell0_2635(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2635', 8000, 1)
end

function Sorts_2635(pUnit, Event)
local choix_sorts_2635 = math.random(0, 0)
if choix_sorts_2635 == 0 then
pUnit:RegisterEvent('spell0_2635', 1, 1)
end
end

function mob2635_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2635', math.random(1500, 3000), 1)
end

function mob2635_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2635_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2635_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2635, 1, 'mob2635_Action')
RegisterUnitEvent(2635, 2, 'mob2635_Leave')
RegisterUnitEvent(2635, 3, 'mob2635_Kill')
RegisterUnitEvent(2635, 4, 'mob2635_Die')
